<%@ LANGUAGE="VBSCRIPT" %>
<%'  ------------------------------------------------------------
  '  search.asp 
  '  ------------------------------------------------------------
  '  VCS INFO:
  '  
  '  $Revision:   1.18  $
  '  $Date:   19 May 1998 12:24:46  $
  '  $Author:   shsieh  $
  '  $Workfile:   search.asp  $
  '  ------------------------------------------------------------
  '  All Rights Reserved.  Copyright (c) 1988-1998 FileNET Corp.
  '  ------------------------------------------------------------
  '%>
<% 'If the user is not logged on, redirect to the Logon page.
RedirectToLogon = 1 %>
<!-- #include file="islogon.asp" -->
<%
'Panagon IDM Web application uses the Session variable LibraryLogonID to keep track of
'whether the user has logged on.
'Please see logoncall.asp to see how the Session variable LibraryLogonID is set.
LibraryLogonID = Session("LibraryLogonID")
Set LibraryObj = Server.CreateObject("IDMObjects.Library")
LibraryObj.LogonId = LibraryLogonID
%>

<HTML>
<HEAD>
  <META NAME="GENERATOR" CONTENT="Adobe PageMill 2.0 Mac">
  <TITLE>FileNET Panagon IDM Search</TITLE>
</HEAD>
<FRAMESET FRAMEBORDER=1 ROWS="85,*">
<FRAME SRC="searchbanner.asp" NAME="SearchBanner" MARGINWIDTH=1 SCROLLING=NO NORESIZE>
 <% if LibraryObj.SystemType = Application("idmSysTypeIS") then %>
 <frameset frameborder=1 rows="117,*">
    <frameset frameborder=1 cols="40%,*">
        <% if Session("DocType") = "04" then 'FDS 890731 %>
            <frame src="savedquery.htm" name="SavedQuery" scrolling="no" marginwidth="5" marginheight="2">
            <!-- FDS 890310 <frame src="qspec1.asp" name="QuerySpec" marginwidth="5" marginheight="2"> -->
            <frame src="qspecCL1.asp" name="QuerySpec" marginwidth="5" marginheight="2">
        <% else %>
	    <% if Session("DocType") = "06" or Session("DocType") = "07" then %>
            	<frame src="savedqueryBD.htm" name="SavedQuery" scrolling="no" marginwidth="5" marginheight="2">
            	<frame src="qspecBD1.asp" name="QuerySpec" marginwidth="5" marginheight="2">
	    <% else %>
            	<frame src="savedqueryVD.htm" name="SavedQuery" scrolling="no" marginwidth="5" marginheight="2">
            	<frame src="qspecVD1.asp" name="QuerySpec" marginwidth="5" marginheight="2">
	    <% end if %>
        <% end if %>
    </frameset>
 <% else %>
 <frameset frameborder=1 rows="50%,*">
	<frame src="mz_qspec.asp" name="QuerySpec" marginwidth="5" marginheight="2">
 <% end if %>
	<% if Session("ResultPageNumber") then %>
		<% if LibraryObj.SystemType = Application("idmSysTypeIS") then %>
		    <% if Session("DocType") = "04" then 'FDS 890731 %>
		        <frame src="qresult.asp" name="QueryResult" marginwidth="0" marginheight="0">
		    <% else %>
			<% if Session("DocType") = "06" or Session("DocType") = "07" then %>
            			<frame src="qresultBD.asp" name="QueryResult" marginwidth="0" marginheight="0">
	   		 <% else %>
		        	<frame src="qresultVD.asp" name="QueryResult" marginwidth="0" marginheight="0">
			 <% end if %>
		    <% end if %>
		<% else %>
			<frame src="mz_qresult.asp" name="QueryResult" marginwidth="0" marginheight="0">
		<% end if %>
	<% else %>
    <frame src="blank.htm" name="QueryResult" marginwidth="0" marginheight="0">
	<% end if %>
    <noframes>
    <body>
    <p>This web page uses frames, but your browser doesn't
    support them.</p>
    </body>
    </noframes>
</frameset>
<NOFRAMES>
<BODY>
Viewing this page requires a browser capable of displaying frames.
</BODY>
</NOFRAMES>
</FRAMESET>
</HTML>
